/*
 * ----------------------------------------------------------------------------
 *  (C) Copyright European Telecommunications Standards Institute, 2001.
 *  All Rights Reserved.
 *
 *  All copies of this program, whether in whole or in part, and whether
 *  modified or not, must display this and all other embedded copyright
 *  and ownership notices in full.
 *
 * ----------------------------------------------------------------------------
 */
package org.etsi.ttcn.tri;

import java.io.Serializable;

/**  
     A value of type TriFunctionIdType is the name of an external
     function as specified in the TTCN-3 ATS.
*/
public interface TriFunctionId extends Serializable {

    /** Returns the string representation of the function as defined
	in TTCN-3 specification.
    */
    public String  toString();

    /** Returns the function identifier as defined in the TTCN-3
	specification.
    */
    public String  getFunctionName();

    /** Compares fun with this TriFunctionId for equality. Returns
	true if and only if both functions have the same function
	identifier, false otherwise.
    */
    public boolean equals(TriFunctionId fun);
}
